export default {
  fetchInfo: () => {
    return {
      code: "200",
      msg: "操作成功",
      data: {
        user: {
          name: "Superadministrator",
          username: "superadministrator",
          nickname: "超级管理员",
          avatar: null,
          status: 1,
          created_at: "2019-04-19T02:09:14.000000Z",
          updated_at: "2019-04-19T02:09:14.000000Z",
          roles: ["superadministrator"]
        },
        menus: [
          {
            id: 1,
            label: "首页",
            link: "index",
            icon: "lis",
            sort: 1,
            status: true,
            status_value: "启用",
            type: 3,
            type_value: "父节点",
            parent: null,
            is_tab: true,
            children: []
          },
          {
            id: 2,
            label: "系统",
            link: "sys",
            icon: "lis",
            sort: 1,
            status: true,
            status_value: "启用",
            type: 3,
            type_value: "父节点",
            parent: null,
            children: [
              {
                id: 4,
                label: "角色列表",
                link: "roles",
                icon: "dashboard",
                sort: 1,
                status: true,
                status_value: "启用",
                type: 1,
                type_value: "uri路径",
                parent: "系统",
                is_tab: 3,
                children: []
              }
            ]
          }
        ]
      }
    };
  },
  login: () => {
    return {
      code: "200",
      msg: "登陆成功",
      data: {}
    };
  },
  logout: () => {
    return {
      code: "200",
      msg: "注销成功",
      data: {}
    };
  },
  changePwd: () => {
    return {
      code: "200",
      msg: "修改成功",
      data: {}
    };
  }
};
